

%h1= @contest.name
Start time:
= printable_time @contest.start_time
%br/
End time:
= printable_time @contest.end_time
%br/
About:
= @contest.about

/ TODO, направи таблицата красива
%table{:border => 1}
  %tr
    / TODO: CSS much?
    %td
      %strong Rank
    %td
      %strong Name
    %td
      %strong Solved
    %td
      %strong Time
    - for problem in @problems
      %td= problem.name
    %td Attempts
  / TODO: Сортиране
  - for user in @users
    %td= "TODO"
    %td= "#{user.login}(#{user.id})"
    %td= @results[user.login][:all]
    %td= @results[user.login][:time]
    - for problem in @problems
      %td= @results[user.login][problem.id]
    %td= @results[user.login][:attempts]






